package com.ihr360.payroll.model.dto.salary.task.period.embeddable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class StaffIdPayPeridTermId {
    @Column(unique = true)
    private Long termId;

    @Column(length = 40, nullable = false)
    private String staffId;

    public Long getTermId() {
        return termId;
    }

    public void setTermId(Long termId) {
        this.termId = termId;
    }

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }
}